<div class="sc-cnt-publicacao">
    
    <h2>Enviar Links</h2>
    
    <div class="content-tb">
        <div class="tl-pag"> <a class="btn_nv" href="<?php echo $this->url(array('controller' => $this->controller, 'action' => 'edit', 'id' => '')); ?>">Criar Links</a></div>
        <table class="nrmprd">          
        <?php foreach($this->result as $key => $row){ ?>
            <tr>
                <td class="w100"><?php echo $row['LNK_NOM'];?></td>
                <td><?php echo tools::smallText(45,$row['LNK_URL']);?></td>
                <td style="width: 50px">
                    <div class="cnt_btn_ord">
                        <a class="btn_ord" href="<?php echo $this->url(array('controller' => $this->controller, 'action' => 'order', 'id' => $row['LNK_ID'], 'ord'=> $row['LNK_ORD'], 'pos' => 0)); ?>"><span class="icn_stup"></span></a>
                        <a class="btn_ord" href="<?php echo $this->url(array('controller' => $this->controller, 'action' => 'order', 'id' => $row['LNK_ID'], 'ord'=> $row['LNK_ORD'], 'pos' => 1)); ?>"><span class="icn_stdw"></span></a>
                    </div>
                </td>
                <td class="bc"><a class="btn" href="<?php echo $this->url(array('controller' => $this->controller, 'action' => 'edit', 'id' => $row['LNK_ID'])); ?>">editar</a></td>
                <td class="bc"><a class="btn" href="javascript:void(0);" onclick="list_delete_msg('<?php echo $this->controller; ?>',<?php echo $row['LNK_ID'] ?>,$(this),'<?php echo $row['LNK_NOM'] ?>');">excluir</a></td>
            </tr>
        <?php } ?>
        </table>
    </div>
    
</div>

<?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination.phtml'); ?>
 
